projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edd0938
)
Fix pointer signedness glitch
author
Paul Eggert
<eggert@cs.ucla.edu>
Tue, 30 Jun 2015 16:06:21 +0000
(09:06 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Tue, 30 Jun 2015 16:07:35 +0000
(09:07 -0700)
* src/font.c (font_load_for_lface): Use SSDATA, not SDATA.
src/font.c
patch
|
blob
|
history
diff --git
a/src/font.c
b/src/font.c
index 575975ced739d5dd5b877143869b6091872d8820..50b966ec83ee5d692bd1dd5f0b3cb9c1eedb3278 100644
(file)
--- a/
src/font.c
+++ b/
src/font.c
@@
-3346,7
+3346,7
@@
font_load_for_lface (struct frame *f, Lisp_Object *attrs, Lisp_Object spec)
name = Ffont_get (spec, QCuser_spec);
if (STRINGP (name))
{
- char *p = SDATA (name), *q = strrchr (p, '-');
+ char *p = S
S
DATA (name), *q = strrchr (p, '-');
if (q != NULL && c_isdigit (q[1]))
{